/**
 * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.html or http://ckeditor.com/license
 */

CKEDITOR.editorConfig = function( config ) {
    // Define changes to default configuration here. For example:
    config.language = 'en';
    
    // config.uiColor = '#AADC6E';
        
    config.toolbar = [
    ['Source','-','Preview','Templates'],
    ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
    ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
    '/',
    ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
    ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
    ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
    ['BidiLtr', 'BidiRtl' ],
    ['Link','Unlink','Anchor'],
    ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe'],
    '/',
    ['Styles','Format','Font','FontSize'],
    ['TextColor','BGColor'],
    ['Maximize', 'ShowBlocks']
    ];
        
    config.entities = false;
    //config.entities_latin = false;
        

    config.filebrowserBrowseUrl = 'http://ehoufood.com/editor/ckfinder/ckfinder.html';

    config.filebrowserImageBrowseUrl = 'http://ehoufood.com/editor/ckfinder/ckfinder.html?type=Images';

    config.filebrowserFlashBrowseUrl = 'http://ehoufood.com/editor/ckfinder/ckfinder.html?type=Flash';

    config.filebrowserUploadUrl = 'http://ehoufood.com/editor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files';

    config.filebrowserImageUploadUrl = 'http://ehoufood.com/editor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images';

    config.filebrowserFlashUploadUrl = 'http://ehoufood.com/editor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash'; 
};
